<?php
/**
 * Copyright (C), 2021-2021, Shall Buy Life info. Co., Ltd.
 * FileName: MicroConstant.php
 * Description: 说明
 *
 * @author lwl
 * @Create Date    2021/9/1 13:30
 * @Update Date    2021/9/1 13:30 By lwl
 * @version v1.0
 */

namespace Example\Constants;

interface MicroUriConstant
{
    //通过 memberIds 获取 用户信息
    const GET_MEMBER_BY_MEMBER_IDS = 'member/inner/member/get/info/by/ids';

    //通过 memberIds 获取 会员 头像
    const GET_MEMBER_HEAD_PIC_BY_MEMBER_IDS = 'member/inner/member/get/head/pic/by/member/ids';

    //通过roleId 获取 角色详情
    const GET_ROLE_BY_ROLE_ID = 'member-relation/inner/role/query';

    //通过 staffId 获取 后台员工信息
    const GET_STAFF_BY_STAFF_ID = 'staff/inner/staff/detail';

    //通过memberId 获取 store 信息
    const GET_STORE_BY_MEMBER_ID = 'store/inner/store/check';

    //获取业务与对应的角色
    const  GET_BUSINESS_ROLE_LIST = 'member-relation/inner/member/business/querys';

    //通过广告id获取广告
    const GET_AD_BY_AD_ID = 'adspace/inner/space/detail';

    //向广告服务提交数据
    const SAVE_SCHOOL_AD = 'adspace/inner/space/save';

    //通过 userName 查询 商户
    const GET_STORE_BY_USER_NAME = 'store/inner/store/get/member/info/by/account';

    //通过 memberId 获取 real_name
    const GET_REAL_NAME_BY_MEMBER_ID = 'member/inner/member/get/realname';

    //通过 userId 获取 store服务的user信息
    const GET_STORE_USER_BY_USER_ID = 'store/inner/user/detail';

    //通过 storeId 获取 商户信息
    const GET_STORE_BY_STORE_ID = 'store/inner/store/detail';

    //通过 手机号 获取 会员信息
    const GET_MEMBER_BY_PHONE = 'member/inner/member/phone/info';

    //通过 storeIds 获取 store 列表
    const GET_STORE_LIST_BY_STORE_IDS = "/store/inner/store/name/list";

    //通过staffId 获取 员工 角色
    const GET_STAFF_ROLES_BY_STAFF_ID = 'staff/inner/staff/user/role';

    //phones 获取 会员 信息
    const GET_MEMBER_BY_PHONES = 'member/inner/member/get/infos/by/phones';

    //phones 获取 会员信息及实名信息
    const GET_MEMBER_INFO_BY_PHONES = 'member/inner/member/get/auth/info/by/phones';

    //合同创建
    const CREATE_CONTRACT = 'contract/inner/contract/create';

    //根据模板获取签章信息
    const GET_CONTRACT_SIGN_DETAIL = 'contract/inner/get/sign/detail';

    //合同签署
    const CONTRACT_SIGN = 'contract/inner/contract/file/sign';

    //获取会员信息
    const GET_MEMBER_AUTH_BY_MEMBER_IDS = 'member/inner/member/get/auth/info/by/ids';

    //获取合同模板
    const GET_CONTRACT_TEMPLATE_BY_ID = 'contract/inner/contract/template/info';

    //获取合同详情
    const GET_CONTRACT_INFO = 'contract/inner/contract/info';

    //获取会员详情
    const GET_MEMBER_BY_ID = 'member/inner/member/detail';

    //短信验证码验证
    const SMS_CHECK_CODE = 'pushmsg/inner/sms/validate-send-code';

    //获取签章
    const GET_SEAL = 'contract/inner/contract/seal';

    //撤回合同
    const CANCEL_CONTRACT = 'contract/inner/update/contract/status';

    //退款到小巴余额
    const STORE_XIAO_BA_BALANCE = '/finance-center/inner/balance/add/balance';

    //业务添加
    const STORE_BUSINESS = 'member-relation/inner/business/add';

    //查询业务
    const GET_BUSINESS_INFO = 'member-relation/inner/business/query';

    //添加角色
    const STORE_MEMBER_ROLE = 'member-relation/inner/role/add';

    //查询角色
    const GET_ROLE_INFO_BY_ROLE_NAME = 'member-relation/inner/role/query';

    //批量添加角色
    const BATCH_STORE_MEMBER_ROLE = 'member-relation/inner/role/adds';

    //添加角色会员关联关系
    const STORE_MEMBER_ASSOCIATION = 'member-relation/inner/member/association/add';

    //修改角色会员关联关系
    const UPDATE_MEMBER_ASSOCIATION = 'member-relation/inner/member/association/update';

    //查询角色会员关联关系
    const GET_MEMBER_ASSOCIATION_BY_INFO = 'member-relation/inner/member/association/query';

    //批量添加角色会员关联关系
    const BATCH_STORE_MEMBER_ASSOCIATION = 'member-relation/inner/member/association/adds';

}


